package com.barunsw.bwf.bims.main;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/dhtmlx")
public class DHtmlxController {
	private static Logger LOGGER = LoggerFactory.getLogger(DHtmlxController.class);
	
	@RequestMapping(value="", method=RequestMethod.GET)
	public String main() {
		LOGGER.debug("main");
		
		return "dhtmlx/main";
	}
	
	@RequestMapping(value="/2", method=RequestMethod.GET)
	public String main2() {
		LOGGER.debug("main2");
		
		return "dhtmlx/main";
	}
	
	@RequestMapping(value="/view", method=RequestMethod.GET)
	public String view() {
		LOGGER.debug("view");
		
		return "dhtmlx/view";
	}

}
